home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / lib / gamma.pro < prev    next >
Text File  |  1997-07-08  |  1KB  |  34 lines

  1. ; $Id: gamma.pro,v 1.2 1997/01/15 03:11:50 ali Exp $
  2. ;
  3. ; Copyright (c) 1995-1997, Research Systems, Inc.  All rights reserved.
  4. ;       Unauthorized reproduction prohibited.
  5.  
  6. ;+
  7. ; NAME:
  8. ;       GAMMA
  9. ; PURPOSE:
  10. ;    The introduction of the GAMMA function as a built in system routine
  11. ;    in IDL 4.0 caused inconvenience to customers with existing code
  12. ;    in which GAMMA had been used as a variable, because IDL system
  13. ;    routines have precedence over variable names. To minimize this
  14. ;    problem, RSI has renamed GAMMA to NR_GAMMA.
  15. ;
  16. ;    This wrapper serves to make NR_GAMMA available under the name
  17. ;    GAMMA as documented in the IDL Reference Manual. However, since
  18. ;    IDL library routines have lower precedence than variables, programs
  19. ;    that use GAMMA as a variable name will work as before.
  20. ;
  21. ;    See the documentation for GAMMA in the IDL Reference manual for
  22. ;    details on arguments, keywords, and results.
  23. ;
  24. ; MODIFICATION HISTORY:
  25. ;    3 July 1995, AB, RSI.
  26. ;-
  27.  
  28. function gamma, x, _EXTRA=EXTRA_KW
  29.  
  30.   return, NR_GAMMA(x, _EXTRA=EXTRA_KW)
  31.  
  32. end
  33.